namespace Shop.Data.ShopDataContextMigrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Factura : DbMigration
    {
        public override void Up()
        {
            CreateTable(
                "dbo.Facturas",
                c => new
                    {
                        IdFactura = c.Guid(nullable: false, identity: true),
                        DniCliente = c.String(nullable: false),
                        RucCliente = c.String(nullable: false),
                        SubTotal = c.String(),
                        Igv = c.String(),
                        Total = c.String(),
                        FechaFactura = c.String(),
                    })
                .PrimaryKey(t => t.IdFactura);
            
        }
        
        public override void Down()
        {
            DropTable("dbo.Facturas");
        }
    }
}
